package cn.toleo.jk.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @Description:	ExportService接口
 * @Author:			传智播客 java学院	传智宋江
 * @Company:		http://java.toleo.cn
 * @CreateDate:		2015-1-14 14:02:34
 */

public class Export extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@JSONField(name="products")
	private Set<ExportProduct> exportProducts;	//报运下的货物

	@JSONField(name="exportId")
	private String id;	  	
	private Date inputDate;				//制单日期
	@JSONField(serialize=false)
	private String contractIds;			//打断字段，报运相关的多个合同的ID集合串
	@JSONField(serialize=false)
	private String customerContract;	//合同及确认书号
	@JSONField(serialize=false)
	private String lcno;				//信用证号
	@JSONField(serialize=false)
	private String consignee;			//收货人及地址	
	@JSONField(serialize=false)
	private String marks;				//唛头
	private String shipmentPort;		//装船港	
	private String destinationPort;		//目的港
	private String transportMode;		//船运SEA/空运AIR 运输方式
	private String priceCondition;		//FBO/CIF价格条件
    @JSONField(serialize=false)
	private String remark;				//备注
	private Integer boxNums;			//冗余，为委托服务，一个报运的总箱数
	private Double grossWeights;		//冗余，为委托服务，一个报运的总毛重
	private Double measurements;		//冗余，为委托服务，一个报运的总体积
            
	private Integer state;				//0-草稿 1-已上报 2-装箱 3-委托 4-发票 5-财务
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	
	public Date getInputDate() {
		return this.inputDate;
	}
	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}	
	
	public String getContractIds() {
		return this.contractIds;
	}
	public void setContractIds(String contractIds) {
		this.contractIds = contractIds;
	}	
	
	public String getCustomerContract() {
		return this.customerContract;
	}
	public void setCustomerContract(String customerContract) {
		this.customerContract = customerContract;
	}	
	
	public String getLcno() {
		return this.lcno;
	}
	public void setLcno(String lcno) {
		this.lcno = lcno;
	}	
	
	public String getConsignee() {
		return this.consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}	
	
	public String getMarks() {
		return this.marks;
	}
	public void setMarks(String marks) {
		this.marks = marks;
	}	
	
	public String getShipmentPort() {
		return this.shipmentPort;
	}
	public void setShipmentPort(String shipmentPort) {
		this.shipmentPort = shipmentPort;
	}	
	
	public String getDestinationPort() {
		return this.destinationPort;
	}
	public void setDestinationPort(String destinationPort) {
		this.destinationPort = destinationPort;
	}	
	
	public String getTransportMode() {
		return this.transportMode;
	}
	public void setTransportMode(String transportMode) {
		this.transportMode = transportMode;
	}	
	
	public String getPriceCondition() {
		return this.priceCondition;
	}
	public void setPriceCondition(String priceCondition) {
		this.priceCondition = priceCondition;
	}	
	
	public String getRemark() {
		return this.remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}	
	
	public Integer getBoxNums() {
		return this.boxNums;
	}
	public void setBoxNums(Integer boxNums) {
		this.boxNums = boxNums;
	}	
	
	public Double getGrossWeights() {
		return this.grossWeights;
	}
	public void setGrossWeights(Double grossWeights) {
		this.grossWeights = grossWeights;
	}	
	
	public Double getMeasurements() {
		return this.measurements;
	}
	public void setMeasurements(Double measurements) {
		this.measurements = measurements;
	}	
	
	public Integer getState() {
		return this.state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Set<ExportProduct> getExportProducts() {
		return exportProducts;
	}
	public void setExportProducts(Set<ExportProduct> exportProducts) {
		this.exportProducts = exportProducts;
	}	
	
	
	
}
